#! /bin/bash

echo -n "please input 2 number >:"

read num1 num2

echo "num1 = $num1, num2 = $num2"

if test $num1 -eq $num2
then
    echo "num1 == num2"
fi

if test $num1 -ne $num2
then
    echo "num1 != num2"
fi

if test $num1 -gt $num2
then
    echo "num1 > num2"
fi

if test $num1 -ge $num2
then
    echo "num1 >= num2"
fi

if test $num1 -lt $num2
then
    echo "num1 < num2"
fi

if test $num1 -le $num2
then
    echo "num1 <= num2"
fi


